pull: Do allow executing deltas when mirroring into bare{,-user}
authorColin Walters <walters@verbum.org>
Mon, 12 Sep 2016 00:33:42 +0000 (20:33 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 12 Sep 2016 12:50:34 +0000 (12:50 +0000)
commit5893b68ef76b10fc4267faa09d27588f2594b2f6
tree05671322bbfa8eb9e693a23498a0d977f721e12c
parent12e916466c99983f296903eebf7994105009da99
pull: Do allow executing deltas when mirroring into bare{,-user}

In https://github.com/ostreedev/ostree/pull/408 we fixed a
bug where we would crash when trying to execute deltas into
an archive repo (which isn't presently supported).

But that was overly aggressive - we obviously *can* execute deltas
when mirroring into a bare repo.  This should fix a regression with
the way flatpak uses mirroring to pull from a user repo into the
system.

Closes: #506
Approved by: alexlarsson
src/libostree/ostree-repo-pull.c